package com.poet.df.dbinfo.pojo;
/**
 * 数据库表中的外键
 * @author xuchenglong
 *
 */
public class ForeignKey extends Column {
	/**
	 * 外键名称
	 */
	private String fkName;
	/**
	 * 主键所在的数据库
	 */
	private String pkCatalog;
	/**
	 * 对象属主名
	 */
	private String pkSchema;
	/**
	 * 主键表
	 */
	private String pkTableName;
	/**
	 * 主键列
	 */
	private String pkColumnName;
	/**
	 * 外键表名
	 */
	private String fkTableName;
	/**
	 * 外键列明
	 */
	private String fkColumnName;
	/**
	 * 外键 catalog，SQL server中代表数据名
	 */
	private String fkCatalog;
	/**
	 * 外键 schema
	 */
	private String fkSchema;

	public String getPkCatalog() {
		return pkCatalog;
	}

	public void setPkCatalog(String pkCatalog) {
		this.pkCatalog = pkCatalog;
	}

	public String getPkSchema() {
		return pkSchema;
	}

	public void setPkSchema(String pkSchema) {
		this.pkSchema = pkSchema;
	}

	public String getPkTableName() {
		return pkTableName;
	}

	public void setPkTableName(String pkTableName) {
		this.pkTableName = pkTableName;
	}

	public String getPkColumnName() {
		return pkColumnName;
	}

	public void setPkColumnName(String pkColumnName) {
		this.pkColumnName = pkColumnName;
	}

	public String getFkTableName() {
		return fkTableName;
	}

	public void setFkTableName(String fkTableName) {
		this.fkTableName = fkTableName;
	}

	public String getFkColumnName() {
		return fkColumnName;
	}

	public void setFkColumnName(String fkColumnName) {
		this.fkColumnName = fkColumnName;
	}

	public String getFkCatalog() {
		return fkCatalog;
	}

	public void setFkCatalog(String fkCatalog) {
		this.fkCatalog = fkCatalog;
	}

	public String getFkSchema() {
		return fkSchema;
	}

	public void setFkSchema(String fkSchema) {
		this.fkSchema = fkSchema;
	}

	public String getFkName() {
		return fkName;
	}

	public void setFkName(String fkName) {
		this.fkName = fkName;
	}

}
